package com.heima.client.behavior;

import com.heima.model.common.dtos.LikesBehaviorDto;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("leadnews-behavior")
public interface IBehaviorClient {

    @PostMapping("/api/v1/likesBehavior")
    public ResponseResult like(@RequestBody LikesBehaviorDto likesBehaviorDto);
}
